
@REM $Id: sub_get_txt.bat 103 2008-02-09 12:12:28Z honghunter $

IF NOT EXIST "%1\get_book.bat" GOTO lab_error

%CACHE_DRIVER%
CD %1

 CALL n.bat

 title [1,get_book]%TMP_BOOK_PAGE_ID%-%TMP_BOOK_PAGE_INDEX%-%TMP_BOOK_ID%-%TMP_BOOK_NAME%
 CALL get_book.bat

 title [2,get_book2]%TMP_BOOK_PAGE_ID%-%TMP_BOOK_PAGE_INDEX%-%TMP_BOOK_ID%-%TMP_BOOK_NAME%
 CALL get_book.bat 1>nul

 title [3,get_book3]%TMP_BOOK_PAGE_ID%-%TMP_BOOK_PAGE_INDEX%-%TMP_BOOK_ID%-%TMP_BOOK_NAME%
 CALL get_book.bat 1>nul

 title [4,get_text]%TMP_BOOK_PAGE_ID%-%TMP_BOOK_PAGE_INDEX%-%TMP_BOOK_ID%-%TMP_BOOK_NAME%
 CALL get_text.bat 

GOTO :eof

:lab_error
title %TMP_BOOK_PAGE_ID%-%TMP_BOOK_PAGE_INDEX%-%TMP_BOOK_ID%-%TMP_BOOK_NAME%
ECHO %1
REM PAUSE
